package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_cricket_refresh_skill", desc = "蛐蛐刷新技能", autoSave = true, uploadCk = true)
public class LogCricketRefreshSkill extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "蛐蛐id")
    private int cricketId;

    @FieldTypeAnnotation(desc = "品质")
    private int quality;

    @FieldTypeAnnotation(desc = "等级")
    private int title;

    @FieldTypeAnnotation(desc = "军衔")
    private int littleTitle;

    @FieldTypeAnnotation(desc = "消耗道具")
    private String cost;

    @FieldTypeAnnotation(desc = "重置前技能id")
    private int beforeSkillId;

    @FieldTypeAnnotation(desc = "重置后技能id")
    private int afterSkillId;

    @FieldTypeAnnotation(desc = "重置前血量")
    private long beforeHp;

    @FieldTypeAnnotation(desc = "重置前攻击")
    private long beforeAtk;

    @FieldTypeAnnotation(desc = "重置前气势")
    private long beforePower;

    @FieldTypeAnnotation(desc = "重置前战力")
    private long beforeAbility;

    @FieldTypeAnnotation(desc = "重置后血量")
    private long afterHp;

    @FieldTypeAnnotation(desc = "重置后攻击")
    private long afterAtk;

    @FieldTypeAnnotation(desc = "重置后气势")
    private long afterPower;

    @FieldTypeAnnotation(desc = "重置后战力")
    private long afterAbility;

    public LogCricketRefreshSkill(long userId, int cricketId, int quality, int title, int littleTitle, String cost, int beforeSkillId, int afterSkillId, long beforeHp, long beforeAtk, long beforePower, long beforeAbility, long afterHp, long afterAtk, long afterPower, long afterAbility) {
        this.userId = userId;
        this.cricketId = cricketId;
        this.quality = quality;
        this.title = title;
        this.littleTitle = littleTitle;
        this.cost = cost;
        this.beforeSkillId = beforeSkillId;
        this.afterSkillId = afterSkillId;
        this.beforeHp = beforeHp;
        this.beforeAtk = beforeAtk;
        this.beforePower = beforePower;
        this.beforeAbility = beforeAbility;
        this.afterHp = afterHp;
        this.afterAtk = afterAtk;
        this.afterPower = afterPower;
        this.afterAbility = afterAbility;
    }

    public long getUserId() {
        return userId;
    }

}
